package com.xyz.app.controller;

import com.free.common.vo.ResultModel;
import com.free.exception.SystemException;
import com.xyz.service.CustomerSignService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.ResponseBody;

@Controller
@RequestMapping(value = "/sign")
public class SignController  {

    @Autowired
    CustomerSignService signService;

    @RequestMapping(value = "/dosign.json")
    @ResponseBody
    public ResultModel doSign() throws SystemException {
        return signService.sign();
    }
}
